package com.ruoyi.yun.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.yun.mapper.YunUserUserctMapper;
import com.ruoyi.yun.domain.YunUserUserct;
import com.ruoyi.yun.service.IYunUserUserctService;

/**
 * 用户操作日志Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class YunUserUserctServiceImpl implements IYunUserUserctService 
{
    @Autowired
    private YunUserUserctMapper yunUserUserctMapper;

    /**
     * 查询用户操作日志
     * 
     * @param id 用户操作日志主键
     * @return 用户操作日志
     */
    @Override
    public YunUserUserct selectYunUserUserctById(Long id)
    {
        return yunUserUserctMapper.selectYunUserUserctById(id);
    }

    /**
     * 查询用户操作日志列表
     * 
     * @param yunUserUserct 用户操作日志
     * @return 用户操作日志
     */
    @Override
    public List<YunUserUserct> selectYunUserUserctList(YunUserUserct yunUserUserct)
    {
        return yunUserUserctMapper.selectYunUserUserctList(yunUserUserct);
    }

    /**
     * 新增用户操作日志
     * 
     * @param yunUserUserct 用户操作日志
     * @return 结果
     */
    @Override
    public int insertYunUserUserct(YunUserUserct yunUserUserct)
    {
        return yunUserUserctMapper.insertYunUserUserct(yunUserUserct);
    }

    /**
     * 修改用户操作日志
     * 
     * @param yunUserUserct 用户操作日志
     * @return 结果
     */
    @Override
    public int updateYunUserUserct(YunUserUserct yunUserUserct)
    {
        return yunUserUserctMapper.updateYunUserUserct(yunUserUserct);
    }

    /**
     * 批量删除用户操作日志
     * 
     * @param ids 需要删除的用户操作日志主键
     * @return 结果
     */
    @Override
    public int deleteYunUserUserctByIds(Long[] ids)
    {
        return yunUserUserctMapper.deleteYunUserUserctByIds(ids);
    }

    /**
     * 删除用户操作日志信息
     * 
     * @param id 用户操作日志主键
     * @return 结果
     */
    @Override
    public int deleteYunUserUserctById(Long id)
    {
        return yunUserUserctMapper.deleteYunUserUserctById(id);
    }
}
